<template>
  <div style="text-align: center; color: red; font-size: 20px">{{ msg }}</div>
</template>

<script>
export default {
  data() {
    return {
      code: "",
      msg: "",
    };
  },
  async mounted() {
    let code = parseInt(this.$route.query.code);
    let msg = "";
    if (code == 401) {
      msg = "登录信息已过期，请您重新登录！";
    }
    if (code == 403) {
      msg = "您没有权限进行操作！";
    }
    this.code = code;
    this.msg = msg;
  },
  methods: {},
};
</script>

<style scoped>
</style>
